package com.info33.platform.business.dialogue.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.info33.platform.business.dialogue.entity.AiToken;
import com.info33.platform.common.mvc.vo.Result;

import java.io.IOException;

/**
 * @author LF
 * @date 2023-10-16 10:11:52
 */
public interface AiTokenService extends IService<AiToken> {

    /**
     * 获取会话token
     *
     * @return Result<String>
     * @throws IOException 异常抛出
     */
    Result<String> getToken() throws IOException;
}
